package com.ruoyi.labdata.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.labdata.mapper.LabLogotypeMapper;
import com.ruoyi.labdata.domain.LabLogotype;
import com.ruoyi.labdata.service.ILabLogotypeService;

/**
 * 标记数据Service业务层处理
 * 
 * @author winner pan
 * @date 2022-02-14
 */
@Service
public class LabLogotypeServiceImpl implements ILabLogotypeService 
{
    @Autowired
    private LabLogotypeMapper labLogotypeMapper;

    /**
     * 查询标记数据
     * 
     * @param logotypeId 标记数据ID
     * @return 标记数据
     */
    @Override
    public LabLogotype selectLabLogotypeById(Long logotypeId)
    {
        return labLogotypeMapper.selectLabLogotypeById(logotypeId);
    }

    /**
     * 查询标记数据列表
     * 
     * @param labLogotype 标记数据
     * @return 标记数据
     */
    @Override
    public List<LabLogotype> selectLabLogotypeList(LabLogotype labLogotype)
    {
        return labLogotypeMapper.selectLabLogotypeList(labLogotype);
    }

    /**
     * 新增标记数据
     * 
     * @param labLogotype 标记数据
     * @return 结果
     */
    @Override
    public int insertLabLogotype(LabLogotype labLogotype)
    {
        return labLogotypeMapper.insertLabLogotype(labLogotype);
    }

    /**
     * 修改标记数据
     * 
     * @param labLogotype 标记数据
     * @return 结果
     */
    @Override
    public int updateLabLogotype(LabLogotype labLogotype)
    {
        return labLogotypeMapper.updateLabLogotype(labLogotype);
    }

    /**
     * 批量删除标记数据
     * 
     * @param logotypeIds 需要删除的标记数据ID
     * @return 结果
     */
    @Override
    public int deleteLabLogotypeByIds(Long[] logotypeIds)
    {
        return labLogotypeMapper.deleteLabLogotypeByIds(logotypeIds);
    }

    /**
     * 删除标记数据信息
     * 
     * @param logotypeId 标记数据ID
     * @return 结果
     */
    @Override
    public int deleteLabLogotypeById(Long logotypeId)
    {
        return labLogotypeMapper.deleteLabLogotypeById(logotypeId);
    }

	@Override
	public List<LabLogotype> selectLabLogotypeByKind(Long logoKindOpt) {
		return labLogotypeMapper.selectLabLogotypeByKind(logoKindOpt);
	}
}
